package cn.zm.trip.web.dao;

import cn.zm.trip.web.domain.Traffic;
import cn.zm.trip.web.domain.TrafficExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface TrafficDao extends BaseMapper<Traffic> {
	int deleteByPrimaryKey(Integer tpTid);

	int insert(Traffic record);

	int insertSelective(Traffic record);

	List<Traffic> selectByExample(TrafficExample example);

	List<Traffic> trafficPointSearch(Traffic traffic);

	Traffic selectByPrimaryKey(Integer tpTid);

	int updateByPrimaryKeySelective(Traffic record);

	int updateByPrimaryKey(Traffic record);
}